﻿using System;

namespace FreshMeat.Storage
{
   /// <summary>
   /// Access modes for opening a file.
   /// </summary>
   [Flags]
   public enum OpenAccess
   {
      /// <summary>
      /// Allows data to be read from the file.
      /// </summary>
      Read = 1,

      /// <summary>
      /// Allows data to be written to the file.
      /// </summary>
      Write = 2,

      /// <summary>
      /// Allows data to be read from or writte to the file.
      /// </summary>
      ReadWrite = Write | Read,
   }
}